/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpb.projetoesa.dados;

import br.ufpb.projetoesa.exceptions.AtualizacaoDeTurmaException;
import br.ufpb.projetoesa.exceptions.TurmaInexistenteException;
import br.ufpb.projetoesa.exceptions.TurmaVaziaException;
import br.ufpb.projetoesa.negocio.Turma;
import java.util.List;

/**
 *
 * @author Rennan
 */
public class TurmaDAOPostgreSQL implements TurmaDAO{
    
    //SINGLETON
    private static TurmaDAOPostgreSQL turmaDaoPSQL;
    
    public static TurmaDAOPostgreSQL getInstance(){
        if(turmaDaoPSQL == null)
            return new TurmaDAOPostgreSQL();
        return turmaDaoPSQL;
    }
    
    private TurmaDAOPostgreSQL (){
    }

    @Override
    public void insert(Turma turma) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void delete(Turma turma) throws TurmaInexistenteException, TurmaVaziaException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void update(Turma turma) throws AtualizacaoDeTurmaException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Turma findID(String id) throws TurmaInexistenteException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int size() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List getTurmas() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

       
    
}
